package top.usts.springframework.aop;

/**
 * @description:
 * Filter that restricts matching of a pointcut or introduction to
 * a given set of target classes.
 *
 * @author: CJ
 * @date: 2022/2/25
 */
public interface ClassFilter {


    /**
     * Should the pointcut apply to the given interface or target class?
     * @param clazz
     * @return
     *
     * 过滤代理的类
     */
    boolean matches(Class<?> clazz);

}
